<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
</body>
<script src="./node_modules/axios/dist/axios.js"></script>
<script type="module">
    import axios from "./index.js";
    axios.get("http://zhangpeiyue.com/scoreList",{
        params: {
            sex: "男"
        }
    }).then(value=>{
        console.log(value.data);
    })
    // axios({
    //     url: "http://zhangpeiyue.com/scoreList",
    //     params: {
    //         sex: "男"
    //     }
    // }).then(value => {
    //     console.log(value);
    // }).catch(err=>{
    //     console.log(err)
    // })


</script>
</html>